sound *get_sound_object(char *name)
Parameter | Type | Description |
---|---|---|
name | char * | sound name |
Returns a pointer to the given sound or NULL if sound not found.
This function is used to get sounds from the stock. It returns the sound pointer for a given string based sound name. If sound is not in the sounds linked list, it attempts to load the sound from disk.